-
Notifications
You must be signed in to change notification settings - Fork 5k
enforce ordering of libbeat API server Start/Stop functions #46865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enforce ordering of libbeat API server Start/Stop functions #46865
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
given the failing tests pass, it's good
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
* enforce ordering of libbeat API server Start/Stop functions (cherry picked from commit 4490460)
* enforce ordering of libbeat API server Start/Stop functions (cherry picked from commit 4490460)
Proposed commit message
Add strict ordering to the libbeat API server Start and Stop functions.
Without this it is possible to start the API server multiple times and for the calling of the Stop function to precede the calling of the Start function.
Not an issue in normal beats but in beats receivers when Start and Stop may be called quickly.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs